﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace INSTA.Concepts.StrategyPattern
{
    public class DebugPlayerStrategy
        : AbstractStrategy<Player>
    {

        /// <summary>
        /// Executes the current Strategy on the specified target.
        /// </summary>
        /// <param name="target">The target.</param>
        public override void Execute(Player target)
        {
            Console.WriteLine("Points de vie    : {0} ", target.LifePoints);
            Console.WriteLine("Points d'attaque : {0} ", target.AttackPoints);

        }
    }
}
